/**
 * 
 */
function eventCheck(){
	document.getElementById("btn1").onclick = btnFunc;
	document.getElementById("btn2").onclick = btnFunc;;
	document.getElementById("btn3").onclick = btnFunc;;
	
}
function btnFunc(event){
	
	var n = event.srcElement.name;
	var v = event.srcElement.value;
	alert('name' + n + ',value =' +v);
}
